cmake_minimum_required(VERSION 3.22)   
project(ftpshow)  
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} SRC_LISTS)  
set(SRC_LISTS ${SRC_LISTS} ${CMAKE_CURRENT_SOURCE_DIR}/../../public/_ftp.cpp)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/output) 
add_executable(ftpshow ${SRC_LISTS})    

#增加头文件，库文件
target_include_directories(ftpshow PUBLIC  ${CMAKE_CURRENT_SOURCE_DIR}/../../public)
target_link_directories(ftpshow PUBLIC  ${CMAKE_CURRENT_SOURCE_DIR}/../../public)
target_link_libraries(ftpshow PUBLIC _public ftp)
